package com.template.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.template.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yumuyang
 * @since 2021-11-01
 */
public interface DepartmentService extends IService<Department> {

    public Page<Department> selectAllPage(Integer pn);

    public void saveDepartment(Department department);

    public void deleteDepartmentById(Integer id);

    public void updateDepartment(Department department);
}
